<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../../style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../../../print.css" type="text/css" media="print">
<meta content="GadgetsHelper,org.opensocial.client.core.GadgetsHelper,call,getCurrentView,getViewParams,isViewOnlyVisible,makeRequest,register,registerDefault,setStageHeight,setStageWidth,setTitle,unregister,unregisterDefault" name="keywords">
<title>org.opensocial.client.core.GadgetsHelper</title>
</head>
<body>
<script type="text/javascript" language="javascript" src="../../../../asdoc.js"></script><script type="text/javascript" language="javascript" src="../../../../cookies.js"></script><script type="text/javascript" language="javascript">
<!--
				asdocTitle = 'GadgetsHelper - OpenSocial Actionscript 3.0 Client Library Documentation';
				var baseRef = '../../../../';
				window.onload = configPage;
			--></script>
<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
<tr>
<td align="left" class="titleTableTitle">OpenSocial AS3 Client Library</td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../../../all-classes.html')" href="../../../../package-summary.html">All&nbsp;Packages</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../all-classes.html')" href="../../../../class-summary.html">All&nbsp;Classes</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../../index-list.html')" href="../../../../all-index-A.html">Index</a>&nbsp;|&nbsp;<a href="../../../../index.html?org/opensocial/client/core/GadgetsHelper.html&amp;org/opensocial/client/core/class-list.html" id="framesLink1">Frames</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">No&nbsp;Frames</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="../../../../images/logo.jpg"></td>
</tr>
<tr class="titleTableRow2">
<td align="left" id="subTitle" class="titleTableSubTitle">Class&nbsp;GadgetsHelper</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#methodSummary">Methods</a></td>
</tr>
<tr class="titleTableRow3">
<td colspan="2">&nbsp;</td>
</tr>
</table>
<script type="text/javascript" language="javascript">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("Class GadgetsHelper"); titleBar_setSubNav(false,false,false,false,false,false,true,false,false,false,false,false,false,false);}
--></script>
<div class="MainContent">
<table cellspacing="0" cellpadding="0" class="classHeaderTable">
<tr>
<td class="classHeaderTableLabel">Package</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">org.opensocial.client.core</a></td>
</tr>
<tr>
<td class="classHeaderTableLabel">Class</td><td class="classSignature">public class GadgetsHelper</td>
</tr>
<tr>
<td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">GadgetsHelper <img class="inheritArrow" alt="Inheritance" title="Inheritance" src="../../../../images/inherit-arrow.gif"> org.opensocial.client.core.ClientHelper</td>
</tr>
</table>
<p></p>
 Features helper for several sub-namespaces in the <code><j>gadgets</j></code> namespace.
 <p>
 It contains the most important <code><j>makeRequest</j></code> asynchronous request, which can
 be applied to both jswrapper and restful client. And some useful views or rpc features, which
 may be only used in jswrapper client.
 </p>
  <p></p>
<p>
<span class="classHeaderTableLabel">See also</span>
</p>
<div class="seeAlso">
<a href="http://code.google.com/apis/opensocial/docs/0.8/reference/gadgets/#gadgets.io" target="mm_external">gadgets.io</a>
<br>
<a href="http://code.google.com/apis/opensocial/docs/0.8/reference/gadgets/#gadgets.rpc" target="mm_external">gadgets.rpc</a>
<br>
<a href="http://code.google.com/apis/opensocial/docs/0.8/reference/gadgets/#gadgets.views" target="mm_external">gadgets.views</a>
<br>
<a href="http://code.google.com/apis/opensocial/docs/0.8/reference/gadgets/#gadgets.window" target="mm_external">gadgets.window</a>
</div>
<br>
<hr>
</div>
<a name="methodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Methods</div>
<table id="summaryTableMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#GadgetsHelper()">GadgetsHelper</a>(client:<a href="OpenSocialClient.html">OpenSocialClient</a>)</div>
<div class="summaryTableDescription">
   Constructor.</div>
</td><td class="summaryTableOwnerCol">GadgetsHelper</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#call()">call</a>(targetId:String, serviceName:String, callback:Function, ... args):void</div>
<div class="summaryTableDescription">
   Calls the rpc service on another target.</div>
</td><td class="summaryTableOwnerCol">GadgetsHelper</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getCurrentView()">getCurrentView</a>():String</div>
<div class="summaryTableDescription">
   Calls the <code><j>gadgets.views.getCurrentView</j></code> to get the current view
   name.</div>
</td><td class="summaryTableOwnerCol">GadgetsHelper</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#getViewParams()">getViewParams</a>():Object</div>
<div class="summaryTableDescription">
   Calls the <code><j>gadgets.views.getParams</j></code> to get the params from current view.</div>
</td><td class="summaryTableOwnerCol">GadgetsHelper</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#isViewOnlyVisible()">isViewOnlyVisible</a>():Boolean</div>
<div class="summaryTableDescription">
   Calls the <code><j>gadgets.views.View.isOnlyVisibleGadget</j></code> to check if
   it is the only app on the page.</div>
</td><td class="summaryTableOwnerCol">GadgetsHelper</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#makeRequest()">makeRequest</a>(url:String, callback:Function = null, params:Object = null):void</div>
<div class="summaryTableDescription">
   Sends request to a remote site to get or post data.</div>
</td><td class="summaryTableOwnerCol">GadgetsHelper</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#register()">register</a>(serviceName:String, handler:Function):void</div>
<div class="summaryTableDescription">
   Registers an rpc service on this app.</div>
</td><td class="summaryTableOwnerCol">GadgetsHelper</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#registerDefault()">registerDefault</a>(handler:Function):void</div>
<div class="summaryTableDescription">
   Registers the default rpc service on this app.</div>
</td><td class="summaryTableOwnerCol">GadgetsHelper</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#setStageHeight()">setStageHeight</a>(height:Number):void</div>
<div class="summaryTableDescription">
   Sets the app's height.</div>
</td><td class="summaryTableOwnerCol">GadgetsHelper</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#setStageWidth()">setStageWidth</a>(width:Number):void</div>
<div class="summaryTableDescription">
   Sets the app's witdh.</div>
</td><td class="summaryTableOwnerCol">GadgetsHelper</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#setTitle()">setTitle</a>(title:String):void</div>
<div class="summaryTableDescription">
   Sets the app's title if the 'settitle' feature is available.</div>
</td><td class="summaryTableOwnerCol">GadgetsHelper</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#unregister()">unregister</a>(serviceName:String):void</div>
<div class="summaryTableDescription">
   Unregisters the rpc service on this app.</div>
</td><td class="summaryTableOwnerCol">GadgetsHelper</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#unregisterDefault()">unregisterDefault</a>():void</div>
<div class="summaryTableDescription">
   Unregisters the default rpc service on this app.</div>
</td><td class="summaryTableOwnerCol">GadgetsHelper</td>
</tr>
</table>
</div>
<script type="text/javascript" language="javascript">
<!--
showHideInherited();
--></script>
<div class="MainContent">
<a name="constructorDetail"></a>
<div class="detailSectionHeader">Constructor detail</div>
<a name="GadgetsHelper()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">GadgetsHelper</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">constructor</td>
</tr>
</table>
<div class="detailBody">
<code>public function GadgetsHelper(client:<a href="OpenSocialClient.html">OpenSocialClient</a>)</code><p>
   Constructor.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">client</span>:<a href="OpenSocialClient.html">OpenSocialClient</a></code> &mdash; The opensocial client instance.
   </td>
</tr>
</table>
</div>
<a name="methodDetail"></a>
<div class="detailSectionHeader">Method detail</div>
<a name="call()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">call</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td>
</tr>
</table>
<div class="detailBody">
<code>public function call(targetId:String, serviceName:String, callback:Function, ... args):void</code><p>
   Calls the rpc service on another target.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">targetId</span>:String</code> &mdash; The target app's iframe id, null for the parent.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">serviceName</span>:String</code> &mdash; The service name to be called.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">callback</span>:Function</code> &mdash; The callback function with a return value from the service.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code>... <span class="label">args</span></code> &mdash; Other arguments for the service call.
      </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="http://code.google.com/apis/opensocial/docs/0.8/reference/gadgets/#gadgets.rpc.call" target="mm_external">gadgets.rpc.call</a>
</div>
</div>
<a name="getCurrentView()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getCurrentView</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getCurrentView():String</code><p>
   Calls the <code><j>gadgets.views.getCurrentView</j></code> to get the current view
   name. Null if the 'views' feature is not enabled.
   </p><p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>String</code> &mdash; The view name, defined in <code>GadgetsViews.ViewType</code>.
   </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="http://code.google.com/apis/opensocial/docs/0.8/reference/gadgets/#gadgets.views.getCurrentView" target="mm_external">gadgets.views.getCurrentView</a>
<br>
<a href="http://code.google.com/apis/opensocial/docs/0.8/reference/gadgets/#gadgets.views.View.getName" target="mm_external">gadgets.views.View.getName</a>
</div>
</div>
<a name="getViewParams()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">getViewParams</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function getViewParams():Object</code><p>
   Calls the <code><j>gadgets.views.getParams</j></code> to get the params from current view.
   </p><p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Object</code> &mdash; The params object.
   </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="http://code.google.com/apis/opensocial/docs/0.8/reference/gadgets/#gadgets.views.getParams" target="mm_external">gadgets.views.getParams</a>
</div>
</div>
<a name="isViewOnlyVisible()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">isViewOnlyVisible</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function isViewOnlyVisible():Boolean</code><p>
   Calls the <code><j>gadgets.views.View.isOnlyVisibleGadget</j></code> to check if
   it is the only app on the page. Returns true if the 'views' feature is not enabled.
   </p><p></p>
<span class="label">Returns</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20"></td><td><code>Boolean</code> &mdash; True if it's the only one visible app.
   </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="http://code.google.com/apis/opensocial/docs/0.8/reference/gadgets/#gadgets.views.View.isOnlyVisibleGadget" target="mm_external">gadgets.views.View.isOnlyVisibleGadget</a>
</div>
</div>
<a name="makeRequest()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">makeRequest</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function makeRequest(url:String, callback:Function = null, params:Object = null):void</code><p>
   Sends request to a remote site to get or post data.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">url</span>:String</code> &mdash; The remote site url.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">callback</span>:Function</code> (default = <code>null</code>)<code></code> &mdash; A fucntion with a parameter of <code>ResponseItem</code>.
                   The underlying data in the response item can be
                   <code>String | Object</code> for different content types respectfully.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">params</span>:Object</code> (default = <code>null</code>)<code></code> &mdash; A <code>Map.&lt;GadgetsIo.RequestParameters, Object&gt;</code> object.
      </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="http://code.google.com/apis/opensocial/docs/0.8/reference/gadgets/#gadgets.io.makeRequest" target="mm_external">gadgets.io.makeRequest</a>
<br>
<a href="http://code.google.com/apis/opensocial/articles/makerequest-0.8.html" target="mm_external">Introduction to makeRequest</a>
</div>
</div>
<a name="register()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">register</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function register(serviceName:String, handler:Function):void</code><p>
   Registers an rpc service on this app.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">serviceName</span>:String</code> &mdash; The service name.
   </td>
</tr>
<tr>
<td class="paramSpacer">&nbsp;</td>
</tr>
<tr>
<td width="20px"></td><td><code><span class="label">handler</span>:Function</code> &mdash; The target handler function.
      </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="http://code.google.com/apis/opensocial/docs/0.8/reference/gadgets/#gadgets.rpc.register" target="mm_external">gadgets.rpc.register</a>
</div>
</div>
<a name="registerDefault()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">registerDefault</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function registerDefault(handler:Function):void</code><p>
   Registers the default rpc service on this app.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">handler</span>:Function</code> &mdash; The target handler function
      </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="http://code.google.com/apis/opensocial/docs/0.8/reference/gadgets/#gadgets.rpc.registerDefault" target="mm_external">gadgets.rpc.registerDefault</a>
</div>
</div>
<a name="setStageHeight()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">setStageHeight</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function setStageHeight(height:Number):void</code><p>
   Sets the app's height.
   This will resize the swf object's height. It will also adjust the iframe's height
   if the 'dynamicHeight' feature is available.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">height</span>:Number</code> &mdash; The new height.
   </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="http://code.google.com/apis/opensocial/docs/0.8/reference/gadgets/#gadgets.window.adjustHeight" target="mm_external">gadgets.window.adjustHeight</a>
</div>
</div>
<a name="setStageWidth()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">setStageWidth</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function setStageWidth(width:Number):void</code><p>
   Sets the app's witdh. This will resize the swf object's width.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">width</span>:Number</code> &mdash; The new width.
   </td>
</tr>
</table>
</div>
<a name="setTitle()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">setTitle</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function setTitle(title:String):void</code><p>
   Sets the app's title if the 'settitle' feature is available.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">title</span>:String</code> &mdash; The new title.
   </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="http://code.google.com/apis/opensocial/docs/0.8/reference/gadgets/#gadgets.window.setTitle" target="mm_external">gadgets.window.setTitle</a>
</div>
</div>
<a name="unregister()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">unregister</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function unregister(serviceName:String):void</code><p>
   Unregisters the rpc service on this app.
   </p><span class="label">Parameters</span>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="20px"></td><td><code><span class="label">serviceName</span>:String</code> &mdash; The service name to be unregistered.
      </td>
</tr>
</table>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="http://code.google.com/apis/opensocial/docs/0.8/reference/gadgets/#gadgets.rpc.unregister" target="mm_external">gadgets.rpc.unregister</a>
</div>
</div>
<a name="unregisterDefault()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">unregisterDefault</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>public function unregisterDefault():void</code><p>
   Unregisters the default rpc service on this app.
      </p><p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="http://code.google.com/apis/opensocial/docs/0.8/reference/gadgets/#gadgets.rpc.unregisterDefault" target="mm_external">gadgets.rpc.unregisterDefault</a>
</div>
</div>
<br>
<br>
<hr>
<br>
<p></p>
<center class="copyright">2009 OpenSocial</center>
</div>
</body>
</html>
<!--2009 OpenSocial-->
